package com.street.service;

import com.street.dto.CartDTO;
import com.street.entity.Cart;

import java.util.List;

public interface CartService {
    List<Cart> list(Long shopId);

    void add(CartDTO cartDTO);

    void delete(CartDTO cartDTO);

    void clear(Long shopId);

}
